package com.ss.summer.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 节点成员表
 * </p>
 *
 * @author xia17
 * @since 2019-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
public class SummerNodeMember implements Serializable {

private static final long serialVersionUID=1L;

    public SummerNodeMember(String id){
        this.memberId = id;
    }

    private Long id;

    /**
     * 节点id
     */
    private Long nodeId;

    /**
     * 用户id
     */
    private String memberId;

    /**
     * 分组id
     */
    private Long groupId;

    /**
     * 是否启用
     */
    private Boolean isUse;

    /**
     * 类型（保留字段）
     */
    private Integer type;


}
